package com.ccys.cms.service.masterData;

import com.ccys.common.vo.ResponseResult;
import com.ccys.db.dto.masterData.SpecialisationDelDto;
import com.ccys.db.dto.masterData.SpecialisationPageQueryDto;
import com.ccys.db.dto.masterData.SpecialisationSaveDto;
import com.ccys.db.entity.TblSpecialisation;
import com.ccys.db.rely.service.BaseService;
import com.ccys.db.vo.masterData.SpecialisationListVo;
import com.ccys.db.vo.masterData.SpecialisationPageQueryVo;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface SpecialisationService extends BaseService<TblSpecialisation> {
    ResponseResult saveSpecialisation(SpecialisationSaveDto dto);

    ResponseResult deleteSpecialisation(SpecialisationDelDto dto);

    ResponseResult<PageInfo<SpecialisationPageQueryVo>, Object> findPageSpecialisation(SpecialisationPageQueryDto dto);

    ResponseResult<List<SpecialisationListVo>, Object> findListSpecialisation(TblSpecialisation dto);
}
